package com.huang.dao;

import com.huang.domain.Work;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface WorkDao {
    int insert(Work work);

    Work selectByFilename(String filename);


    @Select("SELECT * FROM work")
    List<Work> findAll();


}
